home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / CRMSerialDevices.a < prev    next >
Text File  |  1996-05-01  |  2KB  |  55 lines

  1. ;
  2. ;    File:        CRMSerialDevices.a
  3. ;
  4. ;    Contains:    Communications Resource Manager Serial Device interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__CRMSERIALDEVICES__') = 'UNDEFINED' THEN
  19. __CRMSERIALDEVICES__ SET 1
  20.  
  21.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  22.     include 'Types.a'
  23.     ENDIF
  24.  
  25.                                                             ;     for the crmDeviceType field of the CRMRec data structure    
  26. crmSerialDevice                    EQU        1                    ;    version of the CRMSerialRecord below    
  27. curCRMSerRecVers                EQU        1
  28. ;  Maintains compatibility w/ apps & tools that expect an old style icon    
  29. CRMIconRecord            RECORD 0
  30. oldIcon                     ds.l    32                ; offset: $0 (0)        ;  ICN#    
  31. oldMask                     ds.l    32                ; offset: $80 (128)
  32. theSuite                 ds.l    1                ; offset: $100 (256)    ;  Handle to an IconSuite    
  33. reserved                 ds.l    1                ; offset: $104 (260)
  34. sizeof                     EQU *                    ; size:   $108 (264)
  35.                         ENDR
  36. ; typedef struct CRMIconRecord *        CRMIconPtr
  37.  
  38. ; typedef CRMIconPtr *                    CRMIconHandle
  39.  
  40. CRMSerialRecord            RECORD 0
  41. version                     ds.w    1                ; offset: $0 (0)
  42. inputDriverName             ds.l    1                ; offset: $2 (2)
  43. outputDriverName         ds.l    1                ; offset: $6 (6)
  44. name                     ds.l    1                ; offset: $A (10)
  45. deviceIcon                 ds.l    1                ; offset: $E (14)
  46. ratedSpeed                 ds.l    1                ; offset: $12 (18)
  47. maxSpeed                 ds.l    1                ; offset: $16 (22)
  48. reserved                 ds.l    1                ; offset: $1A (26)
  49. sizeof                     EQU *                    ; size:   $1E (30)
  50.                         ENDR
  51. ; typedef struct CRMSerialRecord *        CRMSerialPtr
  52.  
  53.     ENDIF ; __CRMSERIALDEVICES__ 
  54.  
  55.